<include file="top" />

<div id="right">
	<h3>修改hotTag</h3>
	<form method="post" enctype="multipart/form-data" onsubmit=" return checkVal();">
			<table width="98%" border="0" class="table">
				<tr>
					<td width="16%" >标签名：</td>
					<td width="84%">
						<input type="text" name="tag_name" value="<{$ht.tag_name}>" />
					</td>
				</tr>
				<tr>
					<td width="16%" >链接：</td>
					<td width="84%">
						<input type="text" name="tag_url" value="<{$ht.tag_url}>" />
					</td>
				</tr>
				
				<tr>
					<td width="16%" ><input type="hidden" value="<{$ht.id}>" name="id"></td>
					<td width="84%"><input type="submit" value="提交" name="sub"></td>
				</tr>
				
			</table>
			
		</form>
		<script>
			function checkVal(){
				if(document.getElementById('hotTag').value == ''){
					alert('请先填上内容！');
					return false;					
				}
			}
		</script>
</div>
</body>
</html>